home *** CD-ROM | disk | FTP | other *** search
/ HAKERIS 11 / HAKERIS 11.ISO / linux / system / LinuxConsole 0.4 / linuxconsole0.4install-en.iso / linuxconsole0.4.lcm / local / linuxconsole / share / alsa / cards / SI7018.conf < prev    next >
Encoding:
Text File  |  2004-03-26  |  1.5 KB  |  120 lines

  1. #
  2. # Configuration for the SI7018 chip
  3. #
  4. # This configuration does not reflect hardware.
  5. #
  6.  
  7. <confdir:pcm/front.conf>
  8.  
  9. SI7018.pcm.front.0 {
  10.     @args [ CARD ]
  11.     @args.CARD {
  12.         type string
  13.     }
  14.     type hw
  15.     card $CARD
  16.     device 0
  17. }    
  18.  
  19. <confdir:pcm/rear.conf>
  20.  
  21. SI7018.pcm.rear.0 {
  22.     @args [ CARD ]
  23.     @args.CARD {
  24.         type string
  25.     }
  26.         type hooks
  27.     slave.pcm {
  28.         type hw
  29.         card $CARD
  30.         device 0
  31.     }
  32.     hooks.0 {
  33.         type ctl_elems
  34.         hook_args [
  35.             {
  36.                 name "PCM Playback Volume"
  37.                 preserve true
  38.                 lock true
  39.                 value [ 24 24 ]
  40.             }
  41.         ]
  42.     }
  43. }    
  44.  
  45. <confdir:pcm/surround40.conf>
  46.  
  47. SI7018.pcm.surround40.0 {
  48.     @args [ CARD ]
  49.     @args.CARD {
  50.         type string
  51.     }
  52.     type multi
  53.     slaves [
  54.         {
  55.             pcm {
  56.                 @func concat
  57.                 strings [
  58.                     "cards.SI7018.pcm.front.0:CARD=" $CARD
  59.                 ]
  60.             }
  61.             channels 2
  62.         }
  63.         {
  64.             pcm {
  65.                 @func concat
  66.                 strings [
  67.                     "cards.SI7018.pcm.rear.0:CARD=" $CARD
  68.                 ]
  69.             }
  70.             channels 2
  71.         }
  72.     ]
  73.     bindings [
  74.         { slave 0 channel 0 }
  75.         { slave 0 channel 1 }
  76.         { slave 1 channel 0 }
  77.         { slave 1 channel 1 }
  78.     ]
  79. }
  80.  
  81. <confdir:pcm/iec958.conf>
  82.  
  83. SI7018.pcm.iec958.0 {
  84.     @args [ CARD AES0 AES1 AES2 AES3 ]
  85.     @args.CARD {
  86.         type string
  87.     }
  88.     @args.AES0 {
  89.         type integer
  90.     }
  91.     @args.AES1 {
  92.         type integer
  93.     }
  94.     @args.AES2 {
  95.         type integer
  96.     }
  97.     @args.AES3 {
  98.         type integer
  99.     }
  100.     type hooks
  101.     slave.pcm {
  102.         type hw
  103.         card $CARD
  104.         device 1
  105.     }
  106.     hooks.0 {
  107.         type ctl_elems
  108.         hook_args [
  109.             {
  110.                 interface PCM
  111.                 name "IEC958 Playback PCM Stream"
  112.                 value [ $AES0 $AES1 $AES2 $AES3 ]
  113.                 device 1
  114.                 lock true
  115.                 preserve true
  116.             }
  117.         ]
  118.     }
  119. }
  120.